public class FloatDetail {
	public static void main(String[] args) {
		float num1 = 1.1f;
		//float num2 = 3.2;错误
		double num3 = 2.3;
		double num4 = 4.5f;
		System.out.println(num1);
		//System.out.println(num2);
		System.out.println(num3);
		System.out.println(num4);
		//十进制数形式
		double num5 = .123;
		System.out.println(num5);
		//科学计数法形式
		System.out.println(6.66e2);//6.66*10^2
		System.out.println(6.66E-2);//6.66/10^2

	}
}